/**
 *
 */
package gemini.castor.ui.client.service;

import gemini.basic.model.MonthlyPoint;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 *
 *
 */
@RemoteServiceRelativePath("monthlyPointService.rpc")
@Transactional(rollbackFor = Throwable.class, readOnly = false)
public interface MonthlyPointService extends RemoteService {
	public List<MonthlyPoint> getMonthlyPointByDistributorCodeAndYear(String code, int year);
	
	public List<Integer> getAllYearByDistributorCode(String code);
}
